package org.ii.ws.upcdatabase;
//
//import java.net.URL;
//import java.util.HashMap;
//import java.util.Hashtable;
//
//import org.apache.xmlrpc.XmlRpcRequest;
//import org.apache.xmlrpc.XmlRpcRequestConfig;
//import org.apache.xmlrpc.client.XmlRpcClient;
//import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
//import org.apache.xmlrpc.client.XmlRpcClientRequestImpl;
//
public class UpcDatabaseClient {
//	public static void main(String args[]) throws Exception {
//		XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
//		config.setServerURL(new URL("http://www.upcdatabase.com/xmlrpc"));
//		XmlRpcClient client = new XmlRpcClient();
//		client.setConfig(config);
//		Object[] params = new Object[]{"rpc_key","ed44f748e1d4ef75b06eee6c709cc99bebe1775e"};
//		XmlRpcRequest request = new XmlRpcClientRequestImpl(config, "test", params);
//		try{
//			HashMap response = (HashMap) client.execute(request);
//			System.out.println(response.toString());
//        } catch (Exception e) {
//            throw new RuntimeException(e);
//        }
//	}
}
